package com.witdata.common.mapper;

import com.witdata.common.domain.dto.ArticleLikeDto;
import com.witdata.mysql.domain.entity.TArticleLike;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author LiuQi
 */
@Mapper
public interface ArticleLikeMapper {
    ArticleLikeMapper INSTANCE = Mappers.getMapper(ArticleLikeMapper.class);

    List<ArticleLikeDto> toArticleLikeDtoList(List<TArticleLike> tArticleLikeList);
}
